// ajax
console.log('start')
$.get('./data.json', function(data){
  console.log(data)
})

console.log('end')

// 图片加载
console.log('start')
let img = document.createElement('img')
img.onload = function(){
  console.log('loaded')
}
img.src = './...png'
console.log('end')